import { EggPlugin } from "egg";

const plugin: EggPlugin = {
  static: true,
  ejs: {
    enable: true,
    package: "egg-view-ejs",
  },
  mongoose: {
    enable: true,
    package: "egg-mongoose"
  },
  redis: {
    enable: true,
    package: "egg-redis"
  },
  // 渐进式开发 本地插件
  zipCode: {
    enable: true,
    package: 'zip-code',
  },
};

export default plugin;
